# Contributor: Will Sinatra <wpsinatra@gmail.com>
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
pkgname=ciso
pkgver=1.0.0
pkgrel=0
pkgdesc="PSP Iso Compressor"
url="https://sourceforge.net/projects/ciso/"
license="GPL-2.0-or-later"
arch="all"
makedepends="zlib-dev"
source="https://downloads.sourceforge.net/sourceforge/ciso/ciso-$pkgver.tar.gz
	long_to_int.patch
	add_header.patch"
options="!check" #No checks

build() {
	make
}

package() {
	mkdir -p "$pkgdir/usr/bin"
	make DESTDIR="$pkgdir" install
}

sha512sums="
ceede6d0e0c5d994d88c1fac4e33b5c249371a02eb4510ee573107f870649ffc92c2a8e0ca4db0f794bef25259c3a54c85caf6e157ac92f69e5024076917a2a8  ciso-1.0.0.tar.gz
6f846a7c701912c10740f2df661af738a0dc251e232f6c29cdea70761d5982736fef93f36426eb52fdc74dcc686368c43930131e7186379fff82333e4d7b2d88  long_to_int.patch
10216b4f99c66a85b9c489f0b58eaab67643026b53ab8801babfc122d80bb0047f2fe9bde49a2cb3d961ec487b9a0d62f91209ad33dbe3263ef2628e6ed41308  add_header.patch
"
